package br.com.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import br.com.modelo.Membro;

public class MembroDao {

	public void salvar(Membro membro)throws SQLException{
		PreparedStatement ps = null;
		Connection con = null;
		String sql = "INSERT INTO" +"";
		try{
	//	con = ConexaoJDBC.getConexao();
		ps = con.prepareStatement(sql);
		ps.setString(1, membro.getNome());
		ps.setString(2, membro.getCpf());
//		ps.setString(3, membro.getEndereco());
		ps.execute();
		}finally{
			con.close();
			ps.close();
		}
	}
}
